package br.com.vilababy.sigvb.modelo;

import java.io.Serializable;
import java.util.Calendar;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="documentacao_pessoal")
public class DocumentacaoPessoal extends SIGVBModelo implements Serializable {

	/**
	 * @author Diego Patrick da Silva Santos
	 */
	private static final long serialVersionUID = 1L;

	@Id @GeneratedValue
	@Column(name="codigo_documentacao")
	private Long id;
	@Column(nullable=false, length=11)
	private String cpf;
	@Column(length=12)
	private String rg;
	@Column(name="orgao_emissor", length=50)
	private String orgaoEmissor;
	@Column(name="data_emissao")
	private Calendar dataEmissao;
	
	
	public final Long getId() {
		return id;
	}
	public final void setId(Long id) {
		this.id = id;
	}
	public final String getCpf() {
		return cpf;
	}
	public final void setCpf(String cpf) {
		this.cpf = cpf;
	}
	public final String getRg() {
		return rg;
	}
	public final void setRg(String rg) {
		this.rg = rg;
	}
	public final String getOrgaoEmissor() {
		return orgaoEmissor;
	}
	public final void setOrgaoEmissor(String orgaoEmissor) {
		this.orgaoEmissor = orgaoEmissor;
	}
	public final Calendar getDataEmissao() {
		return dataEmissao;
	}
	public final void setDataEmissao(Calendar dataEmissao) {
		this.dataEmissao = dataEmissao;
	}
	
	
}
